package cn.mesmile.activity.listener1;

import org.activiti.engine.delegate.event.ActivitiEvent;
import org.activiti.engine.delegate.event.ActivitiEventListener;
import org.springframework.stereotype.Component;

/**
 * @author zb
 * @date 2022/1/4 10:51
 * @Description
 */
@Component
public class ProcessStartListener  implements ActivitiEventListener {

    @Override
    public void onEvent(ActivitiEvent event) {
        System.out.println(">>>>>>>>> 启动一个流程实例进入到这里 >>>>>>>>>");
    }

    @Override
    public boolean isFailOnException() {
        return false;
    }
}
